import { createStore } from 'vuex'

export default createStore({
  state: {
    catList: [],
    isLogin: false,
    userInfo: {},
    payInfo: [],
  },
  getters: {
  },
  mutations: {
    setState(state: any, data: any) {
      state[data.name] = data.value;
    }
  },
  actions: {
  },
  modules: {
  }
})
